package com.elinshaw.pattern.observer;

/**
 * 生命周期接口空实现
 *
 * @author elinShaw
 */
public class EmptyLifeCycle<T> implements TaskLifeCycle<T> {

    @Override
    public void onStart(Thread thread) {

    }

    @Override
    public void onRunning(Thread thread) {

    }

    @Override
    public void onFinish(Thread thread, T result) {

    }

    @Override
    public void onError(Thread thread, Exception e) {

    }
}
